package com.xy.biz.fd.client;

import com.xy.biz.fd.domain.req.documentCode.GetDocumentByCodeRequest;
import com.xy.biz.fd.domain.req.documentCode.GetDocumentCodeRuleRequest;
import com.xy.biz.fd.domain.resp.GetDocumentCodeRuleResponse1;
import com.xy.biz.fd.domain.resp.GetDocumentResponse;
import com.xy.lang.domain.Result;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author Greekn Zhang
 * @date 2021/5/20 18:41
 * @description
 */
public interface DocumentCodeRuleClient {

    /**
     * 根据文件编号获取文件
     */
    Result<GetDocumentResponse> getDocumentByCode(GetDocumentByCodeRequest request);

    /**
     * 获取文件编号信息
     */
    Result<GetDocumentCodeRuleResponse1> getCodeInfo(GetDocumentCodeRuleRequest request);
}
